import Vue from 'vue'
import App from './App'

import VueI18n from 'vue-i18n'
Vue.use(VueI18n)

import store from './store'
const i18n = new VueI18n({
  locale: 'zh',
  messages: {
    'en': {
      index: {
        name: "name",
        SignIn: "Sign In",
        register: "register",
        lang: "中文",
        forget: "forget",
        phone: "cell phone number.",
        password: "cell login password",
        Invitecode: "Invitecode",
        Nickname: "Nickname",
        passwords: "password",
        Paymentpassword: "payword",
        VerificationCode: "Verification",
        c_yqm: "Input invitation code",
        c_yhm: "enter one user name",
        c_password: "cell login password",
        c_payword: "cell payment password",
        c_phone: "cell phone number",
        c_yzm: "Get code",
        c_iyzm: "cell code",
        newpwd: "New password",
        newpwdt: "cell new login password",
        newpwd2t: "cell new payment password",
        newpwd2: "New payword",
        reset: "Reset",
        download: "download",
				saoyisao: "Scan",
        yue: "balance",
        jifen: "integral",
        zhuanchu: "Turn out",
        zhuanru: "To change into",
        mairu: "Purchase",
        maichu: "Sell out",
        zichan: "Digital assets",
        shangcheng: "Shopping Mall",
        fenxiang: "share",
        gonggao: "Notice"
      }
    },
    'zh': {
      index: {
        name: "姓名",
        SignIn: "登录",
        register: "立即注册",
        lang: "English",
        forget: "忘记密码",
        phone: "请输入手机号码",
        password: "请输入密码",
        Invitecode: "邀请码",
        Nickname: "昵称",
        passwords: "登录密码",
        Paymentpassword: "支付密码",
        VerificationCode: "验证码",
        c_yqm: "输入邀请码",
        c_yhm: "输入用户名",
        c_password: "输入登录密码",
        c_payword: "输入支付密码",
        c_phone: "请输入手机号",
        c_yzm: "短信验证码",
        c_iyzm: "请输入验证码",
        newpwd: "新登录密码",
        newpwdt: "输入新登录密码",
        newpwd2t: "输入新支付密码",
        newpwd2: "新支付密码",
        reset: "重置",
        download: "客户端下载",
				saoyisao: "扫一扫",
        yue: "金臻币",
        jifen: "资产",
        zhuanchu: "转出",
        zhuanru: "转入",
        mairu: "买入",
        maichu: "卖出",
        zichan: "数字资产",
        shangcheng: "商城",
        fenxiang: "分享",
        gonggao: "公告"
      }
    }
  }
})

Vue.prototype._i18n = i18n
Vue.config.productionTip = false

Vue.prototype.$store = store

App.mpType = 'app'

const app = new Vue({
    store,
    ...App
})
app.$mount()
